export function useBatchDel() {
  /* 批量删除 */
  const selectedList = ref([])
  const deleteDisabled = computed(() => selectedList.value.length === 0)
  const length = computed(() => selectedList.value.length)
  function selectChangeHandler(selection) {
    selectedList.value = selection
  }
  return {
    length,
    selectedList,
    deleteDisabled,
    selectChangeHandler,
  }
}
